<div class="small-gray"><?= $brief ?></div>
<?php
foreach ($jobs as $job) {
    /* <a class="right brochures-download" rel="prettyPhoto[ajax]" href="/ajax/download-form/121?iframe=true&amp;width=386&amp;height=210" alt="Enter the information below to get our free brouchors"></a> */
    echo '<a class="career-overlay med-header-gray"
        rel="prettyPhoto[ajax]"
        href="'.base_path().'ajax/applied-form/' . $job['id'] . '?iframe=true&amp;width=386&amp;height=210"
        alt="' . $job['title'] . '">' . $job['title'] . '</a>';
//    echo "<a class='med-header-gray' rel='prettyPhoto[ajax]' 
//        href='" . base_path() . "ajax/applied-form/" . $job['id']. "?iframe=true&width=386&height=210' alt='".$job['title']."'>".$job['title']."</a>";
?>
    <div class="small-gray"><?= $job['body'] ?></div>
<?php
}
drupal_add_js('
if(jQuery(".messages").length)
{
jQuery("form").hide();
}
if(jQuery(".error").length)
{
jQuery("form").show();
}
', array('type' => 'inline', 'scope' => 'footer'));
?>
<div class="jobs">

</div>


